//
//  ReadListImgCell.m
//  WYnewsss
//
//  Created by lanou on 16/4/19.
//  Copyright © 2016年 lanou. All rights reserved.
//

#import "ReadListImgCell.h"
#import "ReadListModel.h"
#import <UIImageView+WebCache.h>
@implementation ReadListImgCell
-(void)setDataWithModel:(ReadListModel *)model{
    _titleLabel.text=model.title;
    [_imgImageView sd_setImageWithURL:[NSURL URLWithString:model.img]];
    [_imgsrcImageView sd_setImageWithURL:[NSURL URLWithString:model.imgnewextra[0][@"imgsrc"]]];
    [_imgssImageView sd_setImageWithURL:[NSURL URLWithString:model.imgnewextra[1][@"imgsrc"]]];
    _button.layer.cornerRadius=8;
    _sourceLabel.text=model.source;
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
